Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issues with CityPage Weather current conditions loader #334

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

Dukestep
Copy link
Contributor

@Dukestep Dukestep commented Jun 14, 2024

This PR fixes a few issues with the CityPage Weather current conditions loader.

  1. Removes the properties key from the collection configuration, given that the properties list is not static. This was causing some issues when some defined properties were missing from the returned feature's properties.

  2. Ensure the speed field is mapped as a text field in the Elasticsearch mapping for the current_conditions index.

  3. Use None instead of 'null' when a field is not available.

@Dukestep
Copy link
Contributor Author

CI failure on build action is unrelated.

@tomkralidis tomkralidis merged commit 13a3df4 into ECCC-MSC:master Jun 14, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants